<script setup>
import {ref} from 'vue'
import Child from './child.vue'
let aaa=ref('nihao')
defineExpose({aaa})
</script>

<template>
    <div class="box">
        <p>父组件</p>
        <Child></Child>
    </div>
</template>

<style scoped lang="scss">

</style>